package com.yooohooo.designpattern.factorybuilderbridge;

import com.yooohooo.designpattern.bridge.FaceLocker;
import com.yooohooo.designpattern.bridge.Phone;
import com.yooohooo.designpattern.bridge.QuickCharger;

/**
 * @ClassName: SonyBuilder
 * @Description:
 * @author Yooo
 * @date 2017年6月19日 上午3:52:33
 * 
 */
public class SonyPhoneBuilder implements PhoneBuilder {
	private Phone phone = new Phone();

	public void buildCharger() {
		phone.setCharger(new QuickCharger());
	}

	public void buildLocker() {
		phone.setLocker(new FaceLocker());
	}

	public Phone getResult() {
		return phone;
	}
}
